CREATE TABLE [dbo].[C_HOSTS]
(
[cup] [numeric] (4, 0) NOT NULL,
[host] [varchar] (25) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[C_HOSTS] ADD CONSTRAINT [pk_C_Hosts] PRIMARY KEY CLUSTERED  ([cup], [host]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[C_HOSTS] ADD CONSTRAINT [fk_C_Hosts_cup] FOREIGN KEY ([cup]) REFERENCES [dbo].[C_CUPS] ([cup])
GO
ALTER TABLE [dbo].[C_HOSTS] ADD CONSTRAINT [fk_C_Hosts_team] FOREIGN KEY ([host]) REFERENCES [dbo].[C_TEAMS] ([team])
GO
